﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace InformationSystem.WebSite
{
    public partial class _404 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.QueryString["errorcode"] != null)
            {
                string error = Request.QueryString["errorcode"];
                if (error != string.Empty)
                {
                    switch (error)
                    {
                        case "noregisted":
                            this.errorInfo.InnerHtml= "系统尚未注册，请联系管理员！";
                            break;
                        case "islimit":
                            this.errorInfo.InnerHtml = "没有权限进行该操作，请联系管理员！";
                            break;
                    }

                }
            }
        }
    }
}